package com.allenkerr.rpc.registry;

/**
 * 常量
 * <p>
 * Created by 小柯(Allen Kerr) on 17.5.23 18:36.
 */
public interface RpcConstant {

    /**
     * zookeeper 超时时间
     */
    int ZK_SESSION_TIMEOUT = 5000;

    /**
     * zookeeper 注册节点
     */
    String ZK_REGISTRY_PATH = "/registry";

    /**
     * zookeeper 节点
     */
    String ZK_DATA_PATH = ZK_REGISTRY_PATH + "/data";

}
